package com.chen.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author chenchao
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("file")
@SuppressWarnings("all")
@ApiModel(value = "文件",description = "")
public class Files {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String type;
    private Long size;
    private String name;
    private String url;
    private Boolean isDelete;
    private Boolean enable;
    private String md5;

    //下载所需积分
    private int points;

    private String img;

}
